package com.yumeng.webapp.shiro.auth;

import com.yumeng.common.auth.BaseAuthHelper;
import com.yumeng.common.auth.BaseAuthInfo;

/**
 *
 * @author wxd
 * @date 2025/9/19 20:00
 */
public class AuthHelper {

    public static BaseAuthInfo getBaseAuthInfo(){
        return BaseAuthHelper.getCurrAuthInfo();
    }

    public static CurrAuthInfo getCurrAuthInfo(){
        BaseAuthInfo baseAuthInfo = BaseAuthHelper.getCurrAuthInfo();
        return new CurrAuthInfo(baseAuthInfo);
    }

}
